﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

using PortalIntranet.DatabaseComponents.Administracao;
using PortalIntranet.DatabaseComponents.Comun;
using System.Data.Entity.ModelConfiguration;

namespace PortalIntranet.DatabaseComponents.WebParts.ConteudosHtml
{
	[Serializable]
	[Table("ConteudosHtml")]
	public class ConteudoHtml : Entidade
	{
		public ConteudoHtml()
		{
		}

		[Required, MaxLength, Column(TypeName = "ntext")]
		public string Conteudo { get; set; }

		#region WebPart
		public int WebPartId { get; set; }

		public virtual WebPart WebPart { get; set; }
		#endregion
	}
}
